<!-- 
Author: Ладыгин Сергей (webcoderu@gmail.com)
License: New BSD License
Version: 0.1

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 
OF SUCH DAMAGE.
 -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Block Formater v 0.1</title>
<link href="editor.css" rel="stylesheet" media="all" />

<script type="text/javascript" src="mootools-1.2-core-yc.js"></script>
<script type="text/javascript" src="mootools-1.2-more.js"></script>
<script type="text/javascript" src="script.js"></script>

</head>
<body>


	<fieldset>
	<legend>Текст</legend>
	<textarea id="text" rows="10" cols="50" onchange="SetText()"></textarea></fieldset>
	
	<fieldset>
	<legend>Шрифт</legend>
	<a href="#" id="Arial" onclick="SetFont('Arial')">Arial</a><br>
	<a href="#" id="Arial" onclick="SetFont('Verdana')">Verdana</a>
	</fieldset>
	
	<fieldset>
	<legend>Размер</legend>
	<input id="fontsize" onchange="SetFontSize()" type="text" size="3" value="12"> 
	<input id="fontizm" onchange="SetFontSize()" type="text" size="3" value="px">
	</fieldset>
	
	<fieldset>
	<legend>Цвет</legend>
	Текста:<br>
	<input id="fontcolor" onchange="SetColor()" type="text" size="15" value="#000000"><br>
	Фона: <br>
	<input id="backcolor" onchange="SetColor()" type="text" size="15" value="#FFFFFF">
	</fieldset>
	
	<fieldset>
	<legend>Настройки поля:</legend>
	Ширина:<br>
	<input id="blocksize" onchange="SetBlock()" type="text" size="5" value="70"> 
	<input id="blockizm" onchange="SetBlock()" type="text" size="3" value="%"><br>
	Отступ:<br>
	<input id="block_otstup_size" onchange="SetBlock()" type="text" size="5" value="2"> 
	<input id="block_otstup_izm" onchange="SetBlock()" type="text" size="3" value="%"><br>
	Закругления:<br>
	<input id="block_radius" onchange="SetBlock()" type="text" size="5" value="5"> 
	</fieldset>

<div class="clear"></div>

<div>
	<div id="text-alert"></div>
	
</div>

Copyright (c) 2009, Ладыгин Сергей All rights reserved.
</body>
</html>